package com.fs.repository;

import com.fs.entity.Cleaner;
import com.fs.entity.Shop;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CleanerRepository extends JpaRepository<Cleaner,Integer>, JpaSpecificationExecutor<Cleaner> {
    Long countByShop(Shop shop);
    boolean existsById(Integer id);
}
